package com.newjiabo.ski.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.newjiabo.common.annotation.Excel;
import com.newjiabo.common.core.domain.BaseEntity;

/**
 * 评价对象 ski_assess
 *
 * @author CaoMengHui
 * @date 2023-10-19
 */
public class SkiAssess extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 评论对象id
     */
    @ApiModelProperty(value = "评论对象id")
    @Excel(name = "评论对象id")
    private String objectId;

    /**
     * 评论对象类型
     * @see com.newjiabo.ski.domain.enums.AssessObjectEnum
     */
    @ApiModelProperty(value = "评论对象类型")
    @Excel(name = "评论对象类型")
    private String objectType;

    /**
     * 会员id
     */
    @ApiModelProperty(value = "会员id")
    @Excel(name = "会员id")
    private String memberId;

    /**
     * 会员名称
     */
    @ApiModelProperty(value = "会员名称")
    @Excel(name = "会员名称")
    private String memberName;

    /**
     * 会员头像
     */
    @ApiModelProperty(value = "会员头像")
    @Excel(name = "会员头像")
    private String memberFace;

    /**
     * 评价类别
     */
    @ApiModelProperty(value = "评价类别")
    @Excel(name = "评价类别")
    private String assessCategoryJson;

    /**
     * 会员描述
     */
    @ApiModelProperty(value = "会员描述")
    @Excel(name = "会员描述")
    private String memberDescribe;

    /**
     * 删除标志 true/false 删除/未删除
     */
    private Boolean delFlag;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setObjectId(String objectId) {
        this.objectId = objectId;
    }

    public String getObjectId() {
        return objectId;
    }

    public void setObjectType(String objectType) {
        this.objectType = objectType;
    }

    public String getObjectType() {
        return objectType;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberFace(String memberFace) {
        this.memberFace = memberFace;
    }

    public String getMemberFace() {
        return memberFace;
    }

    public void setAssessCategoryJson(String assessCategoryJson) {
        this.assessCategoryJson = assessCategoryJson;
    }

    public String getAssessCategoryJson() {
        return assessCategoryJson;
    }

    public void setMemberDescribe(String memberDescribe) {
        this.memberDescribe = memberDescribe;
    }

    public String getMemberDescribe() {
        return memberDescribe;
    }

    public void setDelFlag(Boolean delFlag) {
        this.delFlag = delFlag;
    }

    public Boolean getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("objectId", getObjectId())
                .append("objectType", getObjectType())
                .append("memberId", getMemberId())
                .append("memberName", getMemberName())
                .append("memberFace", getMemberFace())
                .append("assessCategoryJson", getAssessCategoryJson())
                .append("memberDescribe", getMemberDescribe())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("delFlag", getDelFlag())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
